﻿using ff14bot.Managers;
using ff14bot.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MoreDots.HealManager
{
    public static class PartyMemberExtensions
    {
        public static bool IsTank(this PartyMember member)
        {
            switch (member.Class)
            {
                case ClassJobType.Gladiator:
                    return true;
                case ClassJobType.Marauder:
                    return true;
                case ClassJobType.Paladin:
                    return true;
                case ClassJobType.Warrior:
                    return true;
                default:
                    return false;
            }
        }

        public static bool IsHealer(this PartyMember member)
        {
            switch (member.Class)
            {
                case ClassJobType.Conjurer:
                    return true;
                case ClassJobType.WhiteMage:
                    return true;
                case ClassJobType.Arcanist:
                    return true;
                case ClassJobType.Scholar:
                    return true;
                default:
                    return false;
            }
        }

        public static bool IsDPS(this PartyMember member)
        {
            switch (member.Class)
            {
                case ClassJobType.Arcanist:
                    return true;
                case ClassJobType.Archer:
                    return true;
                case ClassJobType.Bard:
                    return true;
                case ClassJobType.BlackMage:
                    return true;
                case ClassJobType.Dragoon:
                    return true;
                case ClassJobType.Lancer:
                    return true;
                case ClassJobType.Monk:
                    return true;
                case ClassJobType.Pugilist:
                    return true;
                case ClassJobType.Summoner:
                    return true;
                case ClassJobType.Thaumaturge:
                    return true;
                default:
                    return false;
            }
        }
    }
}
